package models;

import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import play.db.jpa.Model;

@Entity
public class DeliverySpot extends Model {
	@OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY)
	private Set<DeliverySpotValues> values;

	public Set<DeliverySpotValues> getValues() {
		return values;
	}

	public void setValues(Set<DeliverySpotValues> values) {
		this.values = values;
	}
}
